package cn.kxm.service;

import java.util.Date;
import java.util.List;

import com.alibaba.fastjson.JSONArray;


import cn.kxm.pojo.InstroageBill;

public interface InstroageBillService {
    public int findInstroageBillCount();
    public List<InstroageBill> getInstroageBillList(Integer page,Integer size,String findcode,
            Date findstartDate,Date findendDate,String findsupplierName);
    public boolean addInstroageBill(String inBill,String codes,Double total);
    public InstroageBill getInstroageBillByCode(String code);
    public boolean modifyInstroageBill(String inBill,String codes,Double total);
    public boolean delInstroageBillCode(String code);
    public boolean delInstroageBillByArray(String[] codes);
	
		public InstroageBill findPayBillDetail(String payCode);
	public void updateInstroageBillType(String code,Integer type);
	public List<InstroageBill> findUnselectedInstroageBill(Integer page,Integer rows,
			String findcode,
			String findstartDate,
			String findendDate,
			String findsupplierName,
			String payCode);
	public int countUnselectedInstroageBill(String findcode,
			String findstartDate,
			String findendDate,
			String findsupplierName,
			String payCode);
	public List<InstroageBill> findInstroageBillByPayBillCode(String payCode);
}
